package com.sykj.why.mongo.document.entity;

import com.sykj.why.mongo.document.BaseDocument;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Eleven
 * @date 2019/6/12
 * @desc 传承人与项目关联表
 */

@Document
@Setter
@Getter
@ApiModel(value = "传承人与项目关联表")
public class SuccessorProjectT extends BaseDocument {

    /** 项目 */
    @ApiModelProperty(value = "项目")
    private String projectId;

    /** 传承人 */
    @ApiModelProperty(value = "传承人")
    private String successorId;

}
